<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>

<html>
<jsp:include page="base/header.jsp" flush="true"> 
 <jsp:param value="物流信息" name="pageTitle"/>
</jsp:include>
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<body>
<iframe  id="iframe" src="" width="100%"></iframe>
</body>
</html>

<script>
var ifm= document.getElementById("iframe"); 
function changeFrameHeight(){
    ifm.height=document.documentElement.clientHeight;
}
changeFrameHeight();

var id = getQueryVariable("id");
var url = getbaseurl("/order/detail.do");
var data = {id:id};
postsync(url, data, function(data){
	var row = data.resultData.row;
	var url = "https://m.kuaidi100.com/chaxun?nu="+row.kddh;
	ifm.src=url;
}, null, null);

</script>